Hua_score = 0
Opponent_score = 0
def first_system(number):
    global Hua_score
    global Opponent_score
    global win1
    global win2
    for i in range(len(number)):
        if number[i]=='W':
            Hua_score+=1

            while Hua_score == 11:
                print("%d:%d" %(11,Opponent_score))
                Hua_score=0
                Opponent_score=0
                break
        elif number[i]=='E':
            print("%d:%d" % (Hua_score, Opponent_score))
        elif number[i]=='L':
            Opponent_score+=1

            while Opponent_score == 11:
                print("%d:%d" %(Hua_score,11))
                Hua_score = 0
                Opponent_score = 0
                break
Hua_score1 = 0
Opponent_score1 = 0
def second_system(number):
    global Hua_score1
    global Opponent_score1
    global win3
    global win4
    for i in range(len(number)):
        if number[i]=='W':
            Hua_score1+=1

            while Hua_score1 == 21:
                print("%d:%d"%(21,Opponent_score1))
                Hua_score1 = 0
                Opponent_score1 = 0
                break
        elif number[i] == 'E':
            print("%d:%d"%(Hua_score1,Opponent_score1))
        elif number[i] == 'L':
            Opponent_score1 += 1

            while Opponent_score1 == 21:
                print("%d:%d"%(Hua_score1,21))
                Hua_score1 = 0
                Opponent_score = 0
                break

def main():
    record_list = list()
    record_need = list()
    boolean = True
    while boolean:
        record = input()
        record_list.append(record)
        for i in range(len(record)):
            if record[i] == 'E':
                boolean = False
            else:
                boolean = True
        for i in range(len(record_list)):
            a = list(record_list[i])
            for j in range(len(a)):
                record_need.append(a[j])

                first_system(record_need)
                second_system(record_need)


if __name__=='__main__':
    main()










